package com.delu.entity;

import java.math.BigDecimal;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.time.LocalDate;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author 6子的爹
 * @since 2021-12-18
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("site_car")
@ApiModel(value="SiteCar对象", description="")
public class SiteCar implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "车辆id")
    @TableId(value = "car_id", type = IdType.AUTO)
    private Long carId;

    @ApiModelProperty(value = "车辆类型")
    @TableField("car_type")
    private Integer carType;

    @ApiModelProperty(value = "车辆品牌")
    @TableField("brand_id")
    private Integer brandId;

    @ApiModelProperty(value = "车辆系列")
    @TableField("series_id")
    private Integer seriesId;

    @ApiModelProperty(value = "是否可租")
    @TableField("rent_able")
    private Integer rentAble;

    @ApiModelProperty(value = "普通租金")
    @TableField("rent_price")
    private BigDecimal rentPrice;

    @ApiModelProperty(value = "是否可预约")
    @TableField("book_able")
    private Integer bookAble;

    @ApiModelProperty(value = "原车价格")
    @TableField("purchase_price")
    private BigDecimal purchasePrice;

    @ApiModelProperty(value = "出厂日期")
    @TableField("date_production")
    private LocalDate dateProduction;

    @ApiModelProperty(value = "车牌号")
    @TableField("car_number")
    private String carNumber;

    @ApiModelProperty(value = "车辆图片")
    @TableField("car_img")
    private String carImg;

    @ApiModelProperty(value = "车辆描述")
    @TableField("car_desc")
    private String carDesc;

    @ApiModelProperty(value = "是否是顺风车")
    @TableField("able_free_ride")
    private Integer ableFreeRide;

    @ApiModelProperty(value = "原站点id")
    @TableField("site_id")
    private Long siteId;

    @ApiModelProperty(value = "车辆押金")
    @TableField("car_deposit")
    private BigDecimal carDeposit;

    @ApiModelProperty(value = "还车站点id")
    @TableField("return_site_id")
    private Long returnSiteId;

    @ApiModelProperty(value = "租赁方式")
    @TableField("lease_id")
    private Integer leaseId;

    @ApiModelProperty(value = "超时金额")
    @TableField("out_time_money")
    private BigDecimal outTimeMoney;

    @ApiModelProperty(value = "车辆基本配置信息")
    @TableField("configuration")
    private String configuration;

    @ApiModelProperty(value = "预付金额(仅限于长租)")
    @TableField("prepay_price")
    private BigDecimal prepayPrice;

    @ApiModelProperty(value = "节假日租金(仅限于短租)")
    @TableField("holidays_rent_price")
    private BigDecimal holidaysRentPrice;

    @ApiModelProperty(value = "异地还车每公里所需的服务费")
    @TableField("kil_price")
    private BigDecimal kilPrice;

    @ApiModelProperty(value = "顺风车价格")
    @TableField("able_free_price")
    private BigDecimal ableFreePrice;

    @ApiModelProperty(value = "违章押金")
    @TableField("nonperformance")
    private BigDecimal nonperformance;

    @ApiModelProperty(value = "车架号")
    @TableField("classno")
    private String classno;

    @ApiModelProperty(value = "发动机号")
    @TableField("engineno")
    private String engineno;

    @ApiModelProperty(value = "标签")
    @TableField("label")
    private String label;


}
